<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>学院管理</title>
    <link rel="stylesheet" href="css/button.css">
    <script src="js/myJs.js"></script>
    <style type="text/css" rel="stylesheet">
        .stuId{
            width: 200px;
        }
        .stuName{
            width: 150px;
        }
        .operate{
            width: 160px;
        }

        /* gridtable */
        table.grid{
            font-family: verdana, arial, sans-serif;
            font-size: 13px;
            color: #333333;
            border-width: 1px;
            border-color: #666666;
            border-collapse: collapse;
            text-align: center;
        }

        table.grid th {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #666666;
            background-color: #dedede;
        }

        table.grid td {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #666666;
            background-color: #ffffff;
        }
    </style>
</head>
<body>
<table align="center" class="grid">
    <tr>
        <th colspan="3">学生用户管理</th>
    </tr>
    <tr>
        <th class="stuId">学号</th>
        <th class="stuName">姓名</th>
        <th class="operate">操作</th>
    </tr>
    <c:forEach items="${students}" var="stu">
    <tr>
        <td class="stuId">${stu.user.userNumber}</td>
        <td class="stuName">${stu.name}</td>
        <td class="operate">
            <input class="delete-but" value="删除" type="button" onclick="window.open('FacultyServlet?action=deleteFaculty&facultyId=${fa.facultyId}','_self')">
            <input class="delete-but" value="修改" type="button" onclick="window.open('','_self')">
        </td>
    </tr>
    </c:forEach>
    <tr>
        <td colspan="3"><div align="center"><%@ include file="page.jsp" %></div></td>
    </tr>
    <tr>
        <th colspan="3">
            <input class="add-but" value="学生" type="button" onclick="openWin('','',500,200,0);" />
        </th>
    </tr>
</table>
</body>
</html>